/**
 * QXJAction.java
 *2013年10月7日下午3:27:20
 *LINKT
 */
package com.jskj.actions;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.apache.struts2.ServletActionContext;

import com.jskj.commons.BaseAction;
import com.jskj.dao.DaoQxj;

/**
 * @author LINKT
 *
 */
public class QXJAction extends BaseAction {

        /**
         * 
         */
        private static final long serialVersionUID = 1L;

        private String ccyear;
        private String ccmonth;
        
        
        public void getQXJList() {
                HttpServletRequest request=ServletActionContext.getRequest();
                HttpSession session=request.getSession();
                String swjg_dm=(String)session.getAttribute("swjg_dm");
                String sbyf=ccyear+(ccmonth.length()>1?"":"0")+ccmonth;
                DaoQxj daoQxj=new DaoQxj();
                this.out(daoQxj.getQxjList(sbyf, swjg_dm));
        }

        public String getCcyear() {
                return ccyear;
        }


        public void setCcyear(String ccyear) {
                this.ccyear = ccyear;
        }


        public String getCcmonth() {
                return ccmonth;
        }


        public void setCcmonth(String ccmonth) {
                this.ccmonth = ccmonth;
        }
        

}
